<!doctype html>
<html class="no-js">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>DfuProgressListenerAdapter</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg">    <script>var pathToRoot = "../../../../";</script>
    <script>document.documentElement.classList.replace("no-js","js");</script>
    <script>const storage = localStorage.getItem("dokka-dark-mode")
    if (storage == null) {
        const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
        if (osDarkSchemePreferred === true) {
            document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
    } else {
        const savedDarkMode = JSON.parse(storage)
        if(savedDarkMode === true) {
            document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
    }
    </script>
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async></script>
<script type="text/javascript" src="../../../../scripts/sourceset_dependencies.js" async></script>
<link href="../../../../styles/style.css" rel="Stylesheet">
<link href="../../../../styles/main.css" rel="Stylesheet">
<link href="../../../../styles/prism.css" rel="Stylesheet">
<link href="../../../../styles/logo-styles.css" rel="Stylesheet">
<link href="../../../../styles/font-jb-sans-auto.css" rel="Stylesheet">
<link href="../../../../ui-kit/ui-kit.min.css" rel="Stylesheet">
<script type="text/javascript" src="../../../../scripts/clipboard.js" async></script>
<script type="text/javascript" src="../../../../scripts/navigation-loader.js" async></script>
<script type="text/javascript" src="../../../../scripts/platform-content-handler.js" async></script>
<script type="text/javascript" src="../../../../scripts/main.js" defer></script>
<script type="text/javascript" src="../../../../scripts/prism.js" async></script>
<script type="text/javascript" src="../../../../ui-kit/ui-kit.min.js" defer></script>
<script type="text/javascript" src="../../../../scripts/symbol-parameters-wrapper_deferred.js" defer></script></head>
<body>
    <div class="root">
    <nav class="navigation theme-dark" id="navigation-wrapper">
<a class="library-name--link" href="../../../../index.html">
                    Device Firmware Update
            </a>        <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
        </button>
        <div class="navigation-controls--break ui-kit_mobile-only"></div>
        <div class="library-version" id="library-version">2.9.0
        </div>
        <div class="navigation-controls">
        <div class="filter-section filter-section_loading" id="filter-section">
                <button class="platform-tag platform-selector jvm-like" data-active="" data-filter=":lib:dfu/release">androidJvm</button>
            <div class="dropdown filter-section--dropdown" data-role="dropdown" id="filter-section-dropdown">
                <button class="button button_dropdown filter-section--dropdown-toggle" role="combobox" data-role="dropdown-toggle" aria-controls="platform-tags-listbox" aria-haspopup="listbox" aria-expanded="false" aria-label="Toggle source sets"></button>
                <ul role="listbox" id="platform-tags-listbox" class="dropdown--list" data-role="dropdown-listbox">
                    <div class="dropdown--header"><span>Platform filter</span>
                        <button class="button" data-role="dropdown-toggle" aria-label="Close platform filter">
                            <i class="ui-kit-icon ui-kit-icon_cross"></i>
                        </button>
                    </div>
                        <li role="option" class="dropdown--option platform-selector-option jvm-like" tabindex="0">
                            <label class="checkbox">
                                <input type="checkbox" class="checkbox--input" id=":lib:dfu/release" data-filter=":lib:dfu/release">
                                <span class="checkbox--icon"></span>
                                androidJvm
                            </label>
                        </li>
                </ul>
                <div class="dropdown--overlay"></div>
            </div>
        </div>
            <button class="navigation-controls--btn navigation-controls--btn_theme" id="theme-toggle-button" type="button">Switch theme
            </button>
            <div class="navigation-controls--btn navigation-controls--btn_search" id="searchBar" role="button">Search in
                API
            </div>
        </div>
    </nav>
        <div id="container">
            <div class="sidebar" id="leftColumn">
                <div class="dropdown theme-dark_mobile" data-role="dropdown" id="toc-dropdown">
                    <ul role="listbox" id="toc-listbox" class="dropdown--list dropdown--list_toc-list" data-role="dropdown-listbox">
                        <div class="dropdown--header">
                            <span>
                                    Device Firmware Update
                            </span>
                            <button class="button" data-role="dropdown-toggle" aria-label="Close table of contents">
                                <i class="ui-kit-icon ui-kit-icon_cross"></i>
                            </button>
                        </div>
                        <div class="sidebar--inner" id="sideMenu"></div>
                    </ul>
                    <div class="dropdown--overlay"></div>
                </div>
            </div>
            <div id="main">
<div class="main-content" data-page-type="classlike" id="content" pageids="dfu::no.nordicsemi.android.dfu/DfuProgressListenerAdapter///PointingToDeclaration//-849819337">
  <div class="breadcrumbs"><a href="../../index.html">dfu</a><span class="delimiter">/</span><a href="../index.html">no.nordicsemi.android.dfu</a><span class="delimiter">/</span><span class="current">DfuProgressListenerAdapter</span></div>
  <div class="cover ">
    <h1 class="cover"><span>Dfu</span><wbr><span>Progress</span><wbr><span>Listener</span><wbr><span><span>Adapter</span></span></h1>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">class </span><a href="index.html">DfuProgressListenerAdapter</a> : <a href="../-dfu-progress-listener/index.html">DfuProgressListener</a></div></div></div>
  </div>
  <div class="tabbedcontent">
    <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button></div>
    <div class="tabs-section-body">
      <div data-togglable="CONSTRUCTOR">
        <h2 class="">Constructors</h2>
        <div class="table"><a data-name="-146479697%2FConstructors%2F-849819337" anchor-label="DfuProgressListenerAdapter" id="-146479697%2FConstructors%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-togglable="CONSTRUCTOR" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="-dfu-progress-listener-adapter.html"><span>Dfu</span><wbr><span>Progress</span><wbr><span>Listener</span><wbr><span><span>Adapter</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-146479697%2FConstructors%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="token punctuation">)</span></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="FUNCTION">
        <h2 class="">Functions</h2>
        <div class="table"><a data-name="-177703401%2FFunctions%2F-849819337" anchor-label="onDeviceConnected" id="-177703401%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-device-connected.html"><span>on</span><wbr><span>Device</span><wbr><span><span>Connected</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-177703401%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-device-connected.html"><span class="token function">onDeviceConnected</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the service has successfully connected, discovered services and found DFU service on the DFU target.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-16607816%2FFunctions%2F-849819337" anchor-label="onDeviceConnecting" id="-16607816%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-device-connecting.html"><span>on</span><wbr><span>Device</span><wbr><span><span>Connecting</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-16607816%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-device-connecting.html"><span class="token function">onDeviceConnecting</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the DFU service started connecting with the DFU target.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-963450987%2FFunctions%2F-849819337" anchor-label="onDeviceDisconnected" id="-963450987%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-device-disconnected.html"><span>on</span><wbr><span>Device</span><wbr><span><span>Disconnected</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-963450987%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-device-disconnected.html"><span class="token function">onDeviceDisconnected</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the service disconnected from the device.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1395020794%2FFunctions%2F-849819337" anchor-label="onDeviceDisconnecting" id="1395020794%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-device-disconnecting.html"><span>on</span><wbr><span>Device</span><wbr><span><span>Disconnecting</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1395020794%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-device-disconnecting.html"><span class="token function">onDeviceDisconnecting</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the service started to disconnect from the target device.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1021767286%2FFunctions%2F-849819337" anchor-label="onDfuAborted" id="-1021767286%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-dfu-aborted.html"><span>on</span><wbr><span>Dfu</span><wbr><span><span>Aborted</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1021767286%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-dfu-aborted.html"><span class="token function">onDfuAborted</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the DFU process has been aborted.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1170411086%2FFunctions%2F-849819337" anchor-label="onDfuCompleted" id="1170411086%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-dfu-completed.html"><span>on</span><wbr><span>Dfu</span><wbr><span><span>Completed</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1170411086%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-dfu-completed.html"><span class="token function">onDfuCompleted</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the DFU process succeeded.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="915802373%2FFunctions%2F-849819337" anchor-label="onDfuProcessStarted" id="915802373%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-dfu-process-started.html"><span>on</span><wbr><span>Dfu</span><wbr><span>Process</span><wbr><span><span>Started</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="915802373%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-dfu-process-started.html"><span class="token function">onDfuProcessStarted</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the DFU process was started and bytes about to be sent.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-477667190%2FFunctions%2F-849819337" anchor-label="onDfuProcessStarting" id="-477667190%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-dfu-process-starting.html"><span>on</span><wbr><span>Dfu</span><wbr><span>Process</span><wbr><span><span>Starting</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-477667190%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-dfu-process-starting.html"><span class="token function">onDfuProcessStarting</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the DFU process is starting.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="701734900%2FFunctions%2F-849819337" anchor-label="onEnablingDfuMode" id="701734900%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-enabling-dfu-mode.html"><span>on</span><wbr><span>Enabling</span><wbr><span>Dfu</span><wbr><span><span>Mode</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="701734900%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-enabling-dfu-mode.html"><span class="token function">onEnablingDfuMode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the service discovered that the DFU target is in the application mode and must be switched to DFU mode.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="646054928%2FFunctions%2F-849819337" anchor-label="onError" id="646054928%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-error.html"><span>on</span><wbr><span><span>Error</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="646054928%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-error.html"><span class="token function">onError</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">error<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">errorType<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">message<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when an error occur.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-381436040%2FFunctions%2F-849819337" anchor-label="onFirmwareValidating" id="-381436040%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-firmware-validating.html"><span>on</span><wbr><span>Firmware</span><wbr><span><span>Validating</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-381436040%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-firmware-validating.html"><span class="token function">onFirmwareValidating</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called when the new firmware is being validated on the target device.</div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1002092845%2FFunctions%2F-849819337" anchor-label="onProgressChanged" id="1002092845%2FFunctions%2F-849819337" data-filterable-set=":lib:dfu/release"></a>
          <div class="table-row" data-filterable-current=":lib:dfu/release" data-filterable-set=":lib:dfu/release">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-progress-changed.html"><span>on</span><wbr><span>Progress</span><wbr><span><span>Changed</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1002092845%2FFunctions%2F-849819337"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dfu/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">fun </span><a href="on-progress-changed.html"><span class="token function">onProgressChanged</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>deviceAddress<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">percent<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">speed<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html">Float</a><span class="token punctuation">, </span></span><span class="parameter ">avgSpeed<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html">Float</a><span class="token punctuation">, </span></span><span class="parameter ">currentPart<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">partsTotal<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span></div><div class="brief ">Method called during uploading the firmware.</div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
    <div class="footer">
        <a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
        <span>Copyright © 2022 - 2024 Nordic Semiconductor ASA. All Rights Reserved.</span>
        <span class="pull-right">
            <span>Generated by </span>
            <a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka">
                <span>dokka</span>
            </a>
        </span>
    </div>
            </div>
        </div>
    </div>
</body>
</html>
